package cn.mihoyo.org.service;

import cn.mihoyo.basic.util.PageList;
import cn.mihoyo.org.domain.Department;
import cn.mihoyo.org.query.DepartmentQuery;

import java.util.List;

public interface IDepartmentService {
    void add(Department department);
    void delete(Long id);
    void update(Department department);
    List<Department> findAll();
    Department findById(Long id);
    PageList<Department> queryByPage(DepartmentQuery query);
}
